#ifndef _STRAWGUI_ACTION_HANDLER_PRESS_H_
#define _STRAWGUI_ACTION_HANDLER_PRESS_H_

#include "sActionHandler.h"

namespace sgui
{
namespace inst
{

struct sActionHandlerPressEvent : public sActionHandlerEvent
{
    EActionEventID getID() const { return EAEID_PRESS; }
};

class sActionHandlerPress: public sActionHandler
{
public:

    bool isEventsLocked() { return true; }
    bool isUpdateLocked() { return false; }

    bool OnEvent(const obs::sEvent& event);

    sActionHandlerPress(sComponentInstance* instance, sComponentRectInstance *caller);
    ~sActionHandlerPress();
};

};
};

#endif